


#ifndef LEXIC_ANALYZER_H

#define LEXIC_ANALYZER_H

#include "lexic_units.h"
#include "loaded_file.h"

class LexicAnalyzer
{
public:
	LexicAnalyzer();
	~LexicAnalyzer();
	bool LexicAnalysis(void);

private:
	
	bool LexicAnalyseFiles(void);
	bool LexicAnalyseFile(void);
	bool LexicIdentifier(void);
	bool LexicNumericConstant(void);  
	bool LexicStringConstant(void);  
	bool LexicOperator(void);
	bool LexicSpecialCharacter(void);  //comments and special characters

	//This method returns true if character 'c' is element of 'field' 
	bool CharactersSearch(char *field,int lenght,char c);

	LoadedFile * currentLoadedFile;

};


#endif
